﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SIM.Geo.BE;
using SIM.Geo.BL;

namespace SIM.Geo.SE
{
    public class SEMineralTextura: ISEMineralTextura
    {
        #region ISEMineralTextura Members

        public List<MineralTextura> ListarMineralTextura()
        {
            try
            {
                return new BLMineralTextura().ListarMineralTextura();
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public int InsertarMineralTextura(MineralTextura mineralTextura)
        {
            try
            {
                return new BLMineralTextura().InsertarMineralTextura(mineralTextura);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public void ModificarMineralTextura(MineralTextura mineralTextura)
        {
            try
            {
                new BLMineralTextura().ModificarMineralTextura(mineralTextura);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public void EliminarMineralTextura(int codigoMineralTextura)
        {
            try
            {
                new BLMineralTextura().EliminarMineralTextura(codigoMineralTextura);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public List<MineralTextura> BuscarMineralTextura(string descripcion)
        {
            try
            {
                return new BLMineralTextura().BuscarMineralTextura(descripcion);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public MineralTextura ObtenerMineralTextura(int codigoMineralTextura)
        {
            try
            {
                return new BLMineralTextura().ObtenerMineralTextura(codigoMineralTextura);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public List<ListItemInt> ObtenerListItem()
        {
            try
            {
                return new BLMineralTextura().ObtenerListItem();
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        #endregion
    }
}